<?php

class BD {

    public function __construct() {
        pg_connect("host=localhost
                    user=postgres
                    password=postgres
                    dbname=mobile
                    port=5432")
                or die("Erro ao conectar ao servidor");
    }

    public function __destruct() {
        // pg_close();
    }

}
